package main

import (
	"log"
	"watcher/server"
	"watcher/server/config"
)

func main() {
	srv, err := server.NewServe("http", config.Config)
	if err != nil {
		log.Fatalf("new serve error:%v", err)
	}

	srv.Run()
}
